package mail;

/**
 * Filtro de email por direccion de origen.
 * @author Damian
 *
 */
public class FilterOrigin extends SearchType {

	@Override
	public Boolean filter(Mail email) {
		return email.getDirOrig().equals(this.content);
	}
	
	public FilterOrigin(String origin){
		this.content = origin;
	}
}
